#include <stdio.h>


int main()
{
	for (int H = 1; H <= 9; H++ )
	{
		for (int Z = 1; Z <= H; Z++)
		{
			printf("%d * %d = %2d\t", H, Z, H * Z);
		}
		printf("\n");
	}
	return 0;
}